<span class="imagepicker">
	<label style="clear:none; width:auto;">{if $label}{$label}{else}Slika:{/if}</label>
	<input type="hidden" name="{$name}" value="{$image}" />
	<a href="javascript:void(0)" onclick="ImagePicker('{#root#}/userfiles/images', '{$image}', $(this).find('img').eq(0), $(this).prev());" style="border:1px solid #ccc; padding:1px; float:left;" title="Odaberi sliku...">	
	{if $image}
		<img src="{#root#}/userfiles/images/{$image}" alt="odaberi sliku" width="200" height="150" />
	{else}
		<img src="{#root#}/img/blank.gif" alt="odaberi sliku" width="200" height="150" />
	{/if}
	</a>
</span>